//============================================================================
// Name        : algoritms.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include "complex.h"

int main() {
	Rational r1(1,2);
	Rational r2(2,3);
	Rational r3(3,4);
	Rational r4(5,6);
	Rational r5(12, 30);

	std::cout << (r1<r1) << std::endl;
	std::cout << (r1<r2) << std::endl;
	std::cout << (r1<r3) << std::endl;
	std::cout << (r1>r4) << std::endl;
	//r5.simplify();
	r5.printIt();
	return 0;
}
